package com.yy.service;

import com.yy.common.Resault;
import com.yy.domain.Order;
import com.yy.dto.OrderDTO;

import java.util.List;

public interface OrderService {
    void createOrder(Integer userId, Integer bicycleId);

    Resault<List<Order>> queryAllBicycle(OrderDTO orderDTO);

    Order getOrderById(String orderId);

    void updateOrder(Order order);
}
